package com.yuyou.fn.settlement.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * 收入类别
 *
 */
@TableName(value = "income_category")
public class IncomeCategory implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<IncomeCategory> createExample(){
		return new Example<IncomeCategory>(IncomeCategory.class);
	}

	/**  */
	@TableId(value = "income_category_id")
	private Long incomeCategoryId;

	/** 分类名称 */
	private String name;

	/** 备注 */
	private String remark;

	/** 是否内置分类 0:否 1:是  */
	@TableField(value = "is_build_in")
	private Integer isBuildIn;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	/**  */
	@TableField(value = "parent_income_category_id")
	private Long parentIncomeCategoryId;

	public Long getIncomeCategoryId() {
		return this.incomeCategoryId;
	}

	public void setIncomeCategoryId(Long incomeCategoryId) {
		this.incomeCategoryId = incomeCategoryId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getIsBuildIn() {
		return this.isBuildIn;
	}

	public void setIsBuildIn(Integer isBuildIn) {
		this.isBuildIn = isBuildIn;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getParentIncomeCategoryId() {
		return this.parentIncomeCategoryId;
	}

	public void setParentIncomeCategoryId(Long parentIncomeCategoryId) {
		this.parentIncomeCategoryId = parentIncomeCategoryId;
	}

}
